#ifndef __LOOKUPUPUTILS_H
#define __LOOKUPUPUTILS_H

#define BUFFERSIZE      256

void error_msg (const char *msg);
void info (const char *msg);

int create_socket (sa_family_t type);
int create_tcp_socket ();

int create_tcp_server_socket (char *port, int qlen);
void bind_and_listen (int fd, in_port_t port, int qlen);

void connect_to_tcp_server(int fd, char *server, char *port)

